package com.creditnet.bmc.oa.service;

import com.creditnet.bmc.oa.domain.NotifyRecordDO;

import java.util.List;
import java.util.Map;

/**
 * Created by bjmaozhengwei on 2018/4/14.
 */
public interface NotifyRecordService {

    NotifyRecordDO get(Long id);

    List<NotifyRecordDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(NotifyRecordDO notifyRecord);

    int update(NotifyRecordDO notifyRecord);

    int remove(Long id);

    int batchRemove(Long[] ids);

    /**
     * 更改阅读状态
     * @return
     */
    int changeRead(NotifyRecordDO notifyRecord);
}
